﻿using System;
using Iesi.Collections.Generic;

//Nhibernate Code Generation Template 1.0
//author:MythXin
//blog:www.cnblogs.com/MythXin
//Entity Code Generation Template
namespace Model.Entity{
	 	//User
		public class User
	{
	
      	/// <summary>
		/// id
        /// </summary>
        public virtual int id
        {
            get; 
            set; 
        }        
		/// <summary>
		/// name
        /// </summary>
        public virtual string name
        {
            get; 
            set; 
        }        
		/// <summary>
		/// password
        /// </summary>
        public virtual string password
        {
            get; 
            set; 
        }        
		/// <summary>
		/// userTypeId
        /// </summary>
        public virtual UserType userType
        {
            get; 
            set; 
        }        
		/// <summary>
		/// canUse
        /// </summary>
        public virtual bool canUse
        {
            get; 
            set; 
        }        
		/// <summary>
		/// schoolId
        /// </summary>
        public virtual School school
        {
            get; 
            set; 
        }

        public virtual ISet<Borrow> borrows
        {
            get;
            set;
        }
	}
}